Getting Started with Backbone Marionette by 2014

Getting Started with Backbone Marionette by 2014

Author:2014
Language: eng
Format: mobi
Publisher: Packt Publishing


With the help of the layout and the regions, we can create a logical segmentation of the screen that will allow us to render views on each region. Using meaningful names for these regions will definitely help, as we just need to pass the right view to the region and stop worrying about the glue code needed for rendering and cleanup.

A region will raise the following two events while rendering a view that will help us to perform an extra manipulation to the DOM:

"show"/onShow: This event is called on the view instance when the view has been rendered and displayed

"show"/onShow: This event is called on the region instance when the view has been rendered and displayed



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.